- Author:
- Weiwei Ai <wai484@aucklanduni.ac.nz>
- Date:
- 2024-05-24 15:25:09+12:00
- Desc:
- Use CellMLV1 models directly; modify the initial states; add slope for step functions; fix relative path
- Permanent Source URI:
- http://models.cellml.org/workspace/b65/rawfile/a9cc330a733f45ad628b68d88abb7a06946133b9/Electrogenic cotransporter/SGLT1_ss_fast.cellml
<?xml version='1.0' encoding='UTF-8'?>
<model name="SGLT1_BG" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#" xmlns:xlink="http://www.w3.org/1999/xlink">
<import xlink:href="./units.cellml">
<units name="fmol_per_s" units_ref="fmol_per_s"/>
<units name="C_per_mol" units_ref="C_per_mol"/>
<units name="per_fmol" units_ref="per_fmol"/>
<units name="fmol" units_ref="fmol"/>
<units name="fA" units_ref="fA"/>
<units name="J_per_mol" units_ref="J_per_mol"/>
<units name="J_per_K_mol" units_ref="J_per_K_mol"/>
</import>
<import xlink:href="params_ss_fast.cellml">
<component component_ref="params_BG" name="params_BG"/>
</import>
<component name="SGLT1_BG">
<variable name="R" public_interface="in" units="J_per_K_mol"/>
<variable name="T" public_interface="in" units="kelvin"/>
<variable name="F" public_interface="in" units="C_per_mol"/>
<variable name="K_Nai" public_interface="in" units="per_fmol"/>
<variable name="q_Nai" public_interface="in" units="fmol"/>
<variable name="K_Nao" public_interface="in" units="per_fmol"/>
<variable name="q_Nao" public_interface="in" units="fmol"/>
<variable name="K_Glci" public_interface="in" units="per_fmol"/>
<variable name="q_Glci" public_interface="in" units="fmol"/>
<variable name="K_Glco" public_interface="in" units="per_fmol"/>
<variable name="q_Glco" public_interface="in" units="fmol"/>
<variable name="K_1" public_interface="in" units="per_fmol"/>
<variable name="q_init_1" public_interface="in" units="fmol"/>
<variable name="K_2" public_interface="in" units="per_fmol"/>
<variable name="q_init_2" public_interface="in" units="fmol"/>
<variable name="K_3" public_interface="in" units="per_fmol"/>
<variable name="q_init_3" public_interface="in" units="fmol"/>
<variable name="K_4" public_interface="in" units="per_fmol"/>
<variable name="q_init_4" public_interface="in" units="fmol"/>
<variable name="K_5" public_interface="in" units="per_fmol"/>
<variable name="q_init_5" public_interface="in" units="fmol"/>
<variable name="K_6" public_interface="in" units="per_fmol"/>
<variable name="q_init_6" public_interface="in" units="fmol"/>
<variable name="V0_Vm" public_interface="in" units="volt"/>
<variable name="z_zf1" public_interface="in" units="dimensionless"/>
<variable name="z_zf6" public_interface="in" units="dimensionless"/>
<variable name="kappa_r1" public_interface="in" units="fmol_per_s"/>
<variable name="kappa_r2" public_interface="in" units="fmol_per_s"/>
<variable name="kappa_r3" public_interface="in" units="fmol_per_s"/>
<variable name="kappa_r4" public_interface="in" units="fmol_per_s"/>
<variable name="kappa_r5" public_interface="in" units="fmol_per_s"/>
<variable name="kappa_r6" public_interface="in" units="fmol_per_s"/>
<variable name="kappa_r7" public_interface="in" units="fmol_per_s"/>
<variable name="q_tot" units="fmol"/>
<variable name="sigma" units="dimensionless"/>
<variable name="v_max" units="fmol_per_s"/>
<variable name="v" units="fmol_per_s"/>
<variable name="v_1" units="fmol_per_s"/>
<variable name="Q_Na_o" units="dimensionless"/>
<variable name="Q_Na_i" units="dimensionless"/>
<variable name="Q_Glc_o" units="dimensionless"/>
<variable name="Q_Glc_i" units="dimensionless"/>
<variable name="z_1" units="dimensionless"/>
<variable name="z_2" units="dimensionless"/>
<variable name="B" units="dimensionless"/>
<variable name="t" public_interface="in" units="second"/>
<variable name="Ii" public_interface="out" units="fA"/>
<variable name="Ii_1" public_interface="out" units="fA"/>
<variable name="q_1" units="fmol"/>
<variable name="A" units="dimensionless"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>Ii</ci>
<apply>
<times/>
<cn cellml:units="dimensionless">2</cn>
<apply>
<plus/>
<ci>z_1</ci>
<ci>z_2</ci>
</apply>
<ci>F</ci>
<ci>v</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>Ii_1</ci>
<apply>
<times/>
<cn cellml:units="dimensionless">2</cn>
<apply>
<plus/>
<ci>z_1</ci>
<ci>z_2</ci>
</apply>
<ci>F</ci>
<ci>v_1</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>z_1</ci>
<ci>z_zf1</ci>
</apply>
<apply>
<eq/>
<ci>z_2</ci>
<ci>z_zf6</ci>
</apply>
<apply>
<eq/>
<ci>sigma</ci>
<apply>
<divide/>
<apply>
<times/>
<ci>F</ci>
<ci>V0_Vm</ci>
</apply>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>q_tot</ci>
<apply>
<plus/>
<ci>q_init_1</ci>
<ci>q_init_2</ci>
<ci>q_init_3</ci>
<ci>q_init_4</ci>
<ci>q_init_5</ci>
<ci>q_init_6</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>v_max</ci>
<apply>
<times/>
<ci>q_tot</ci>
<ci>kappa_r6</ci>
<ci>K_1</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>Q_Na_o</ci>
<apply>
<times/>
<ci>K_Nao</ci>
<ci>q_Nao</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>Q_Na_i</ci>
<apply>
<times/>
<ci>K_Nai</ci>
<ci>q_Nai</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>Q_Glc_o</ci>
<apply>
<times/>
<ci>K_Glco</ci>
<ci>q_Glco</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>Q_Glc_i</ci>
<apply>
<times/>
<ci>K_Glci</ci>
<ci>q_Glci</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>v</ci>
<apply>
<divide/>
<apply>
<times/>
<ci>v_max</ci>
<apply>
<minus/>
<apply>
<times/>
<apply>
<power/>
<ci>Q_Na_o</ci>
<cn cellml:units="dimensionless">2</cn>
</apply>
<ci>Q_Glc_o</ci>
</apply>
<apply>
<times/>
<apply>
<power/>
<ci>Q_Na_i</ci>
<cn cellml:units="dimensionless">2</cn>
</apply>
<ci>Q_Glc_i</ci>
<apply>
<exp/>
<apply>
<times/>
<cn cellml:units="dimensionless">2</cn>
<ci>sigma</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
<ci>B</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>B</ci>
<apply>
<plus/>
<apply>
<times/>
<apply>
<plus/>
<apply>
<exp/>
<apply>
<times/>
<cn cellml:units="dimensionless">2</cn>
<ci>z_1</ci>
<ci>sigma</ci>
</apply>
</apply>
<apply>
<times/>
<apply>
<power/>
<ci>Q_Na_o</ci>
<cn cellml:units="dimensionless">2</cn>
</apply>
<apply>
<plus/>
<apply>
<divide/>
<ci>K_1</ci>
<ci>K_2</ci>
</apply>
<apply>
<times/>
<apply>
<divide/>
<ci>K_1</ci>
<ci>K_3</ci>
</apply>
<ci>Q_Glc_o</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<plus/>
<apply>
<times/>
<apply>
<power/>
<ci>Q_Na_i</ci>
<cn cellml:units="dimensionless">2</cn>
</apply>
<ci>Q_Glc_i</ci>
<apply>
<exp/>
<apply>
<times/>
<ci>z_2</ci>
<ci>sigma</ci>
</apply>
</apply>
</apply>
<apply>
<divide/>
<ci>kappa_r6</ci>
<ci>kappa_r3</ci>
</apply>
</apply>
</apply>
<apply>
<times/>
<apply>
<plus/>
<apply>
<divide/>
<ci>K_1</ci>
<ci>K_6</ci>
</apply>
<apply>
<times/>
<apply>
<power/>
<ci>Q_Na_i</ci>
<cn cellml:units="dimensionless">2</cn>
</apply>
<apply>
<plus/>
<apply>
<divide/>
<ci>K_1</ci>
<ci>K_5</ci>
</apply>
<apply>
<times/>
<apply>
<divide/>
<ci>K_1</ci>
<ci>K_4</ci>
</apply>
<ci>Q_Glc_i</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<plus/>
<apply>
<times/>
<apply>
<power/>
<ci>Q_Na_o</ci>
<cn cellml:units="dimensionless">2</cn>
</apply>
<ci>Q_Glc_o</ci>
<apply>
<exp/>
<apply>
<times/>
<ci>z_2</ci>
<ci>sigma</ci>
</apply>
</apply>
</apply>
<apply>
<times/>
<apply>
<divide/>
<ci>kappa_r6</ci>
<ci>kappa_r3</ci>
</apply>
<apply>
<exp/>
<apply>
<times/>
<cn cellml:units="dimensionless">2</cn>
<ci>sigma</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>A</ci>
<apply>
<plus/>
<apply>
<times/>
<apply>
<plus/>
<cn cellml:units="dimensionless">1</cn>
<apply>
<times/>
<apply>
<divide/>
<ci>K_1</ci>
<ci>K_2</ci>
</apply>
<apply>
<power/>
<ci>Q_Na_o</ci>
<cn cellml:units="dimensionless">2</cn>
</apply>
<apply>
<exp/>
<apply>
<times/>
<apply>
<minus/>
<cn cellml:units="dimensionless">2</cn>
</apply>
<ci>z_1</ci>
<ci>sigma</ci>
</apply>
</apply>
</apply>
<apply>
<times/>
<apply>
<divide/>
<ci>K_1</ci>
<ci>K_3</ci>
</apply>
<apply>
<power/>
<ci>Q_Na_o</ci>
<cn cellml:units="dimensionless">2</cn>
</apply>
<ci>Q_Glc_o</ci>
<apply>
<exp/>
<apply>
<times/>
<apply>
<minus/>
<cn cellml:units="dimensionless">2</cn>
</apply>
<ci>z_1</ci>
<ci>sigma</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<plus/>
<ci>Q_Glc_i</ci>
<apply>
<times/>
<apply>
<divide/>
<ci>kappa_r6</ci>
<ci>kappa_r3</ci>
</apply>
<apply>
<power/>
<ci>Q_Na_i</ci>
<apply>
<minus/>
<cn cellml:units="dimensionless">2</cn>
</apply>
</apply>
<apply>
<exp/>
<apply>
<times/>
<apply>
<minus/>
<ci>z_2</ci>
</apply>
<ci>sigma</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<times/>
<apply>
<plus/>
<apply>
<times/>
<apply>
<divide/>
<ci>K_1</ci>
<ci>K_4</ci>
</apply>
<ci>Q_Glc_i</ci>
</apply>
<apply>
<divide/>
<ci>K_1</ci>
<ci>K_5</ci>
</apply>
<apply>
<times/>
<apply>
<divide/>
<ci>K_1</ci>
<ci>K_6</ci>
</apply>
<apply>
<power/>
<ci>Q_Na_i</ci>
<apply>
<minus/>
<cn cellml:units="dimensionless">2</cn>
</apply>
</apply>
</apply>
</apply>
<apply>
<plus/>
<apply>
<times/>
<apply>
<power/>
<ci>Q_Na_o</ci>
<cn cellml:units="dimensionless">2</cn>
</apply>
<ci>Q_Glc_o</ci>
<apply>
<exp/>
<apply>
<times/>
<apply>
<minus/>
<cn cellml:units="dimensionless">2</cn>
</apply>
<ci>z_1</ci>
<ci>sigma</ci>
</apply>
</apply>
</apply>
<apply>
<times/>
<apply>
<divide/>
<ci>kappa_r6</ci>
<ci>kappa_r3</ci>
</apply>
<apply>
<exp/>
<apply>
<times/>
<ci>z_2</ci>
<ci>sigma</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>q_1</ci>
<apply>
<times/>
<apply>
<divide/>
<ci>q_tot</ci>
<ci>A</ci>
</apply>
<apply>
<plus/>
<ci>Q_Glc_i</ci>
<apply>
<times/>
<apply>
<divide/>
<ci>kappa_r6</ci>
<ci>kappa_r3</ci>
</apply>
<apply>
<power/>
<ci>Q_Na_i</ci>
<apply>
<minus/>
<cn cellml:units="dimensionless">2</cn>
</apply>
</apply>
<apply>
<exp/>
<apply>
<times/>
<apply>
<minus/>
<ci>z_2</ci>
</apply>
<ci>sigma</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_1</ci>
<apply>
<divide/>
<apply>
<times/>
<ci>kappa_r3</ci>
<ci>K_1</ci>
<apply>
<minus/>
<apply>
<times/>
<apply>
<power/>
<ci>Q_Na_o</ci>
<cn cellml:units="dimensionless">2</cn>
</apply>
<ci>Q_Glc_o</ci>
<apply>
<exp/>
<apply>
<times/>
<apply>
<minus/>
<cn cellml:units="dimensionless">2</cn>
</apply>
<ci>z_1</ci>
<ci>sigma</ci>
</apply>
</apply>
<apply>
<plus/>
<ci>Q_Glc_i</ci>
<apply>
<times/>
<apply>
<divide/>
<ci>kappa_r6</ci>
<ci>kappa_r3</ci>
</apply>
<apply>
<power/>
<ci>Q_Na_i</ci>
<apply>
<minus/>
<cn cellml:units="dimensionless">2</cn>
</apply>
</apply>
<apply>
<exp/>
<apply>
<times/>
<apply>
<minus/>
<ci>z_2</ci>
</apply>
<ci>sigma</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
<apply>
<times/>
<ci>Q_Glc_i</ci>
<apply>
<plus/>
<apply>
<times/>
<apply>
<power/>
<ci>Q_Na_o</ci>
<cn cellml:units="dimensionless">2</cn>
</apply>
<ci>Q_Glc_o</ci>
<apply>
<exp/>
<apply>
<times/>
<apply>
<minus/>
<cn cellml:units="dimensionless">2</cn>
</apply>
<ci>z_1</ci>
<ci>sigma</ci>
</apply>
</apply>
</apply>
<apply>
<times/>
<apply>
<divide/>
<ci>kappa_r6</ci>
<ci>kappa_r3</ci>
</apply>
<apply>
<exp/>
<apply>
<times/>
<ci>z_2</ci>
<ci>sigma</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
<ci>q_1</ci>
</apply>
<apply>
<plus/>
<ci>Q_Glc_i</ci>
<apply>
<times/>
<apply>
<divide/>
<ci>kappa_r6</ci>
<ci>kappa_r3</ci>
</apply>
<apply>
<power/>
<ci>Q_Na_i</ci>
<apply>
<minus/>
<cn cellml:units="dimensionless">2</cn>
</apply>
</apply>
<apply>
<exp/>
<apply>
<times/>
<apply>
<minus/>
<ci>z_2</ci>
</apply>
<ci>sigma</ci>
</apply>
</apply>
</apply>
</apply>
</apply>
</apply>
</math>
</component>
<connection>
<map_components component_1="params_BG" component_2="SGLT1_BG"/>
<map_variables variable_1="R" variable_2="R"/>
<map_variables variable_1="T" variable_2="T"/>
<map_variables variable_1="F" variable_2="F"/>
<map_variables variable_1="K_Nai" variable_2="K_Nai"/>
<map_variables variable_1="q_Nai" variable_2="q_Nai"/>
<map_variables variable_1="K_Nao" variable_2="K_Nao"/>
<map_variables variable_1="q_Nao" variable_2="q_Nao"/>
<map_variables variable_1="K_Glci" variable_2="K_Glci"/>
<map_variables variable_1="q_Glci" variable_2="q_Glci"/>
<map_variables variable_1="K_Glco" variable_2="K_Glco"/>
<map_variables variable_1="q_Glco" variable_2="q_Glco"/>
<map_variables variable_1="K_1" variable_2="K_1"/>
<map_variables variable_1="q_init_1" variable_2="q_init_1"/>
<map_variables variable_1="K_2" variable_2="K_2"/>
<map_variables variable_1="q_init_2" variable_2="q_init_2"/>
<map_variables variable_1="K_3" variable_2="K_3"/>
<map_variables variable_1="q_init_3" variable_2="q_init_3"/>
<map_variables variable_1="K_4" variable_2="K_4"/>
<map_variables variable_1="q_init_4" variable_2="q_init_4"/>
<map_variables variable_1="K_5" variable_2="K_5"/>
<map_variables variable_1="q_init_5" variable_2="q_init_5"/>
<map_variables variable_1="K_6" variable_2="K_6"/>
<map_variables variable_1="q_init_6" variable_2="q_init_6"/>
<map_variables variable_1="V0_Vm" variable_2="V0_Vm"/>
<map_variables variable_1="z_zf1" variable_2="z_zf1"/>
<map_variables variable_1="z_zf6" variable_2="z_zf6"/>
<map_variables variable_1="kappa_r1" variable_2="kappa_r1"/>
<map_variables variable_1="kappa_r2" variable_2="kappa_r2"/>
<map_variables variable_1="kappa_r3" variable_2="kappa_r3"/>
<map_variables variable_1="kappa_r4" variable_2="kappa_r4"/>
<map_variables variable_1="kappa_r5" variable_2="kappa_r5"/>
<map_variables variable_1="kappa_r6" variable_2="kappa_r6"/>
<map_variables variable_1="kappa_r7" variable_2="kappa_r7"/>
<map_variables variable_1="t" variable_2="t"/>
</connection>
</model>